package org.csu.wuliu.persistence;

import org.csu.wuliu.domain.User;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface UserMapper {
    User getUserByUsername(String username);
    User getUserByUsernameAndPassword(User user);
    void insertUser(User user);
    void updateUser(User user);
    void deleteUser(User user);
    List<User> getUserList();
}
